<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "DTD/xhtml1-strict.dtd">
<html>
  <head>
    <title>navistore.backend.restkit.pool.simple.SimplePool : API documentation</title>
    <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
    <link href="apidocs.css" type="text/css" rel="stylesheet" />
    
    
  </head>
  <body>
    <h1 class="class">n.b.r.p.s.SimplePool(<a href="navistore.backend.restkit.pool.base.BasePool.html">BasePool</a>) : class documentation</h1>
    <p>
      <span id="part">Part of <a href="navistore.html">navistore</a>.<a href="navistore.backend.html">backend</a>.<a href="navistore.backend.restkit.html">restkit</a>.<a href="navistore.backend.restkit.pool.html">pool</a>.<a href="navistore.backend.restkit.pool.simple.html">simple</a></span>
      
      <a href="classIndex.html#navistore.backend.restkit.pool.simple.SimplePool">View In Hierarchy</a>
    </p>
    <div>
      
    </div>
    <div class="undocumented">Undocumented</div>

    
    
    <div id="splitTables">
      <table class="children sortable" id="id137">
  
  
<tr class="method">
    
    
    <td>Method</td>
    <td><a href="navistore.backend.restkit.pool.simple.SimplePool.html#__init__">__init__</a></td>
    <td><span>abstract class from which all connection</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="navistore.backend.restkit.pool.simple.SimplePool.html#get">get</a></td>
    <td><span>method used to return a connection from the pool</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="navistore.backend.restkit.pool.simple.SimplePool.html#put">put</a></td>
    <td><span>Put an item back into the pool, when done</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="navistore.backend.restkit.pool.simple.SimplePool.html#clear_host">clear_host</a></td>
    <td><span>method to clear all connections from host</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="navistore.backend.restkit.pool.simple.SimplePool.html#clear">clear</a></td>
    <td><span>method used to release all connections</span></td>
  </tr>
  
</table>
      
      
    </div>
    
    
    

    <div class="function">
  <a name="navistore.backend.restkit.pool.simple.SimplePool.__init__">
    
  </a>
  <a name="__init__">
    
  </a>
  <div class="functionHeader">
    
    def
    __init__(self, *args, **params):
    
  </div>
  <div class="functionBody">
    <div class="interfaceinfo">overrides <a href="navistore.backend.restkit.pool.base.BasePool.html#__init__">navistore.backend.restkit.pool.base.BasePool.__init__</a></div>
    <div>abstract class from which all connection pool should inherit.<table class="fieldTable"></table></div>
  </div>
</div><div class="function">
  <a name="navistore.backend.restkit.pool.simple.SimplePool.get">
    
  </a>
  <a name="get">
    
  </a>
  <div class="functionHeader">
    
    def
    get(self, netloc):
    
  </div>
  <div class="functionBody">
    <div class="interfaceinfo">overrides <a href="navistore.backend.restkit.pool.base.BasePool.html#get">navistore.backend.restkit.pool.base.BasePool.get</a></div>
    <div>method used to return a connection from the pool<table class="fieldTable"></table></div>
  </div>
</div><div class="function">
  <a name="navistore.backend.restkit.pool.simple.SimplePool.put">
    
  </a>
  <a name="put">
    
  </a>
  <div class="functionHeader">
    
    def
    put(self, netloc, conn):
    
  </div>
  <div class="functionBody">
    <div class="interfaceinfo">overrides <a href="navistore.backend.restkit.pool.base.BasePool.html#put">navistore.backend.restkit.pool.base.BasePool.put</a></div>
    <div>Put an item back into the pool, when done<table class="fieldTable"></table></div>
  </div>
</div><div class="function">
  <a name="navistore.backend.restkit.pool.simple.SimplePool.clear_host">
    
  </a>
  <a name="clear_host">
    
  </a>
  <div class="functionHeader">
    
    def
    clear_host(self, netloc):
    
  </div>
  <div class="functionBody">
    <div class="interfaceinfo">overrides <a href="navistore.backend.restkit.pool.base.BasePool.html#clear_host">navistore.backend.restkit.pool.base.BasePool.clear_host</a></div>
    <div>method to clear all connections from host<table class="fieldTable"></table></div>
  </div>
</div><div class="function">
  <a name="navistore.backend.restkit.pool.simple.SimplePool.clear">
    
  </a>
  <a name="clear">
    
  </a>
  <div class="functionHeader">
    
    def
    clear(self):
    
  </div>
  <div class="functionBody">
    <div class="interfaceinfo">overrides <a href="navistore.backend.restkit.pool.base.BasePool.html#clear">navistore.backend.restkit.pool.base.BasePool.clear</a></div>
    <div>method used to release all connections<table class="fieldTable"></table></div>
  </div>
</div>
    <address>
      <a href="index.html">API Documentation</a> for navistore, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2010-11-13 15:44:55.
    </address>
  </body>
</html>